package cn.edu.scau.cmi.chengruyuan.test;

import java.io.InputStream;

import org.junit.Test;

public class T1 {
	
	@Test
	public void t1 () {
		System.out.println(System.getProperty("user.dir"));
		// C:\dev\Workspaces\erp\201621170106程如愿
	}
	
	@Test
	public void t2 () {
		System.out.println(T1.class.getResource(""));
		System.out.println(T1.class.getResource("/"));
		System.out.println(T1.class.getResourceAsStream(""));
		T1.class.getResourceAsStream("128830372.jpg");
		System.out.println(T1.class.getClassLoader().getResource(""));
		System.out.println(T1.class.getClassLoader().getResource("/"));
	}
}
